import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.junit.Test;


public class BuilderTest {
	
	private String id;
	private String username;

	@Test
	public void testToStringBuilder() {
		
		System.out.println(new ToStringBuilder(this).append(getId()).append(getUsername()).toString());
	}
	
	@Test
	public void testToStringBuilder2() {
		
		System.out.println(ToStringBuilder.reflectionToString(this));
	}
	
	@Test
	public void testToStringBuilder3() {
		
		System.out.println(HashCodeBuilder.reflectionHashCode(this));
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
